import cv2
image=cv2.imread('cup.jpg')
hsc_image=cv2.cvtColor(image,cv2.COLOR_BGR2HSV)
h,s,v=cv2.split(hsc_image)
cv2.imshow('h',h)
cv2.imshow('s',s)
cv2.imshow('v',v)
cv2.waitKey()
cv2.destroyAllWindows()
